using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class StateExitResetVel : StateMachineBehaviour
{



    public override void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
    {
        Rigidbody2D rg = animator.GetComponentInParent<Rigidbody2D>();
        rg.velocity = new Vector2(0, 0);
        
    }
}
